package com.nchu.student_score.service;

import com.github.pagehelper.PageInfo;
import com.nchu.student_score.dataObject.GradeResult;
import com.nchu.student_score.model.GradeTemp;
import com.nchu.student_score.model.TeachTask;
import com.nchu.student_score.vo.ResultVo;

import java.util.List;

public interface GradeService {
    PageInfo<GradeTemp> getGradeList(GradeTemp input,Integer currPage);

    ResultVo<GradeTemp> getGradeExcel(GradeTemp input);

    ResultVo<GradeResult> getStuGradeDetails(GradeResult input);

    PageInfo<GradeResult> getGradesListByStuId(GradeResult input, Integer currPage);

    ResultVo<GradeTemp> submitStudentGrades(TeachTask input, String submitType);

    PageInfo<GradeTemp> getGradeTempList(GradeTemp input, Integer currPage);

    ResultVo<GradeTemp> getGradeTempsExcel(GradeTemp input);

    ResultVo<GradeTemp> uploadGradeTempsExcel(List<GradeTemp> list);

    ResultVo<GradeTemp> saveGradeTemps(List<GradeTemp> tempList);
}
